package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.pet.common.dao.BbsForumMapper;
import cn.com.pet.common.entity.BbsForum;
import cn.com.pet.common.service.BbsForumService;

@Service("bbsForumService")
public class BbsForumServiceImpl implements BbsForumService {
	
	@Autowired
	BbsForumMapper bbsForumMapper;

	@Override
	public List<BbsForum> getBbsForums(BbsForum bbsForum) {
		// TODO Auto-generated method stub
		return bbsForumMapper.getBbsForums(bbsForum);
	}

	@Override
	public void addBbsForum(BbsForum bbsForum) {
		// TODO Auto-generated method stub
		bbsForumMapper.addBbsForum(bbsForum);
	}

	@Override
	public void updateBbsForum(BbsForum bbsForum) {
		// TODO Auto-generated method stub
		bbsForumMapper.updateBbsForum(bbsForum);
	}
	
	

}
